package com.aspose.cells.a.d;

import com.aspose.cells.Color;
import com.aspose.cells.Encoding;

public class zcf extends com.aspose.cells.b.a.d.za {
   public zcf(com.aspose.cells.b.a.d.zm var1) {
      super(var1);
   }

   public int[] a() throws Exception {
      int var1 = super.q();
      return this.a(var1);
   }

   public int[] a(int var1) throws Exception {
      int[] var2 = new int[var1];

      for(int var3 = 0; var3 < var1; ++var3) {
         var2[var3] = super.q();
      }

      return var2;
   }

   public String b(int var1) throws Exception {
      int var2 = var1 * 2;
      byte[] var3 = super.g(var2);
      return com.aspose.cells.b.a.zv.c(Encoding.getUnicode().a(var3, 0, var2), '\u0000');
   }

   public String c(int var1) throws Exception {
      int var2 = var1 * 2;
      byte[] var3 = super.g(var2);
      if (var2 >= 2) {
         for(int var4 = 1; var4 < var2; var4 += 2) {
            if ((var3[var4] & 255) == 240) {
               var3[var4] = 0;
            }
         }
      }

      return com.aspose.cells.b.a.zv.c(Encoding.getUnicode().a(var3, 0, var2), '\u0000');
   }

   public com.aspose.cells.b.a.b.zo b() throws Exception {
      int var1 = super.q();
      int var2 = super.q();
      return new com.aspose.cells.b.a.b.zo((float)var1, (float)var2);
   }

   public com.aspose.cells.b.a.b.zt c() throws Exception {
      int var1 = super.q();
      int var2 = super.q();
      return new com.aspose.cells.b.a.b.zt((float)var1, (float)var2);
   }

   public com.aspose.cells.b.a.b.zq d() throws Exception {
      int[] var1 = this.a(4);
      return com.aspose.cells.b.a.b.zq.a((float)var1[0], (float)var1[1], (float)var1[2], (float)var1[3]);
   }

   public Color e() throws Exception {
      byte var1 = super.m();
      byte var2 = super.m();
      byte var3 = super.m();
      super.m();
      return Color.fromArgb(255, var1 & 255, var2 & 255, var3 & 255);
   }

   public com.aspose.cells.b.a.b.zo[] f() throws Exception {
      int var1 = super.q();
      return this.d(var1);
   }

   public com.aspose.cells.b.a.b.zo[] d(int var1) throws Exception {
      com.aspose.cells.b.a.b.zo[] var2 = new com.aspose.cells.b.a.b.zo[var1];

      for(int var3 = 0; var3 < var1; ++var3) {
         var2[var3] = new com.aspose.cells.b.a.b.zo();
         var2[var3].a((float)super.q());
         var2[var3].b((float)super.q());
      }

      return var2;
   }

   public com.aspose.cells.b.a.b.zo[] g() throws Exception {
      int var1 = super.q();
      return this.e(var1);
   }

   public com.aspose.cells.b.a.b.zo[] e(int var1) throws Exception {
      com.aspose.cells.b.a.b.zo[] var2 = new com.aspose.cells.b.a.b.zo[var1];

      for(int var3 = 0; var3 < var1; ++var3) {
         var2[var3] = new com.aspose.cells.b.a.b.zo();
         var2[var3].a((float)super.n());
         var2[var3].b((float)super.n());
      }

      return var2;
   }

   public com.aspose.cells.b.a.b.zo[][] h() throws Exception {
      int var1 = super.q();
      super.q();
      com.aspose.cells.b.a.b.zo[][] var2 = new com.aspose.cells.b.a.b.zo[var1][];
      int[] var3 = this.a(var1);

      for(int var4 = 0; var4 < var1; ++var4) {
         var2[var4] = this.d(var3[var4]);
      }

      return var2;
   }

   public com.aspose.cells.b.a.b.zo[][] i() throws Exception {
      int var1 = super.q();
      super.q();
      com.aspose.cells.b.a.b.zo[][] var2 = new com.aspose.cells.b.a.b.zo[var1][];
      int[] var3 = this.a(var1);

      for(int var4 = 0; var4 < var1; ++var4) {
         var2[var4] = this.e(var3[var4]);
      }

      return var2;
   }

   public com.aspose.cells.b.a.b.a.zi j() throws Exception {
      float var1 = this.t();
      float var2 = this.t();
      float var3 = this.t();
      float var4 = this.t();
      float var5 = this.t();
      float var6 = this.t();
      return new com.aspose.cells.b.a.b.a.zi(var1, var2, var3, var4, var5, var6);
   }

   public int[] f(int var1) throws Exception {
      int[] var2 = new int[var1];

      for(int var3 = 0; var3 < var1; ++var3) {
         var2[var3] = super.m() & 255;
      }

      return var2;
   }
}
